package data.missions;

import data.tileables.Controllable;

public class PowerDown extends Mission{
	public PowerDown()
	{
		displayName = "Power Down";
	}
	public PowerDown(Controllable c)
	{
		displayName = "Power Down";
		thisControllable = c;		
	}
	public int execute()
	{
		
		if(thisControllable.getState() != 0)
			thisControllable.setState(false);
		thisControllable.clearMissions();
		return 1;
	}


}
